package com.dem.android.ui;

import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;

import com.dem.android.R;

public class SplashActivity extends GAActivity {
	private static final long SPLASH_DISPLAY_LENGTH = 1500;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.splash);

		new Handler().postDelayed(new Runnable() {
			@Override
			public void run() {

				final Intent mainIntent = new Intent(SplashActivity.this, HomeActivity.class);
				startActivity(mainIntent);
				finish();
			}
		}, SPLASH_DISPLAY_LENGTH);

	}

}
